From: Georges Basile Stavracas Neto Date: Thu, 24 Sep 2020 15:17:58 +0000 (-0300) Subject: appDisplay: Trivial const-correctness fix X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~655^2^2~9 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=75a8697671b61bbf28926d56574c5ddcc34c2159;p=gnome-shell.git appDisplay: Trivial const-correctness fix https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1447 --- diff --git a/js/ui/appDisplay.js b/js/ui/appDisplay.js index b704a5460..ed735f540 100644 --- a/js/ui/appDisplay.js +++ b/js/ui/appDisplay.js @@ -1820,7 +1820,7 @@ class FolderView extends BaseAppView { if (folderApps.length == 0) { // Resetting all keys deletes the relocatable schema let keys = this._folder.settings_schema.list_keys(); - for (let key of keys) + for (const key of keys) this._folder.reset(key); let settings = new Gio.Settings({ schema_id: 'org.gnome.desktop.app-folders' });